package com.wl.shop.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.wl.shop.entity.BaseEntity;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangl
 * @since 2017-06-08
 */
@TableName("cms_field_category")
public class FieldCategory extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 英文名称(区分)
     */
	@TableField("en_name")
	private String enName;
    /**
     * 字段的展示名称
     */
	@TableField("show_name")
	private String showName;
    /**
     * 栏目名称
     */
	@TableField("category_id")
	private String categoryId;
    /**
     * 字段类型ID
     */
	@TableField("field_id")
	private String fieldId;
	
	/**
	 * 字段类型名称
	 */
	@TableField("field_name")
	private String fieldName;
	
	/**
	 * 字段标签对应的 value值
	 */
	@TableField("label_value")
	private String labelValue;
    /**
     * 默认值
     */
	@TableField("default_value")
	private String defaultValue;
	
	private Integer sort;

	public String getEnName() {
		return enName;
	}

	public void setEnName(String enName) {
		this.enName = enName;
	}

	public String getShowName() {
		return showName;
	}

	public void setShowName(String showName) {
		this.showName = showName;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getFieldId() {
		return fieldId;
	}

	public void setFieldId(String fieldId) {
		this.fieldId = fieldId;
	}
	
	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}
	
	public String getLabelValue() {
		return labelValue;
	}

	public void setLabelValue(String labelValue) {
		this.labelValue = labelValue;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue;
	}
	
	@Override
	public void preInsert() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void preUpdate() {
		// TODO Auto-generated method stub
		
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}
	
}
